package com.java2020.online_mall.dao;

import com.java2020.online_mall.model.Admin;
import com.java2020.online_mall.model.AdminPwd;

import java.util.List;

/**
 * @PackgeName: com.java2020.online_mall.dao
 * @Author: MNHK
 * Date: 2020/4/28 22:55
 * @Version:1.8
 */

public interface AdminDao {
    int login (Admin admin);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(Admin params);

    int deleteAdmins(String id);

    Admin getAdminsInfo(String id);

    int updateAdmins(Admin admin);

    int addAdmins(Admin admin);

    int changePwd(AdminPwd adminPwd);


}
